package pzl.com.bluetooth.constant;

/**
 * @author zl.peng
 * @version [1.0, 2016-10-14]
 */
public class ConstantUtils {

    /**
     * requestCode:权限
     */
    public static final int REQUEST_CODE_PERMISSION = 101;

    public static final String[] permissions = {
            "android.permission.BLUETOOTH",
            "android.permission.BLUETOOTH_ADMIN",
            "android.permission.BLUETOOTH_PRIVILEGED"
    };

    /**
     * 广播action
     */

    /**
     * 接收到蓝牙消息
     */
    public static final String ACTION_RECEIVER_BLUETOOTHMESSAGE = "action_receiver_bluetoothmessage";
    /**
     * 客服端连接到服务socket
     */
    public static final String ACTION_RECEIVER_CONNECTEDTOSERVER = "action_receiver_connectedToServer";
    /**
     * 服务端被连接上一个新的client
     */
    public static final String ACTION_RECEIVER_SERVERACCEPT = "action_receiver_serverAccept";

}
